/*
Copyright 2010  Murali Devi (profdevi@gmail.com)

This file is part of ComineGL Project.

ComineGL is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

ComineGL is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with ComineGL.  If not, see <http://www.gnu.org/licenses/>.

This code uses the irrlicht and irrklang libraries.  Please read
the libraries copyrights at 

	irrlicht library:  http://irrlicht.sourceforge.net
	irrklang library:  http://www.ambiera.com/irrklang

*/



//v0.14 copyright Comine.com 20101212U01
#ifndef ComineGLSound_h
#define ComineGLSound_h

///////////////////////////////////////////
#include "ComineGLDefines.h"

// Sound Operations
MDLLFUN bool CGLSoundLoad(int soundid,const char *soundfile);
MDLLFUN bool CGLSoundExists(int soundid);
MDLLFUN bool CGLSoundUnload(int soundid);
MDLLFUN bool CGLSoundUnloadAll(void);
MDLLFUN int CGLSoundGetCount(void);

// Sound Operations
MDLLFUN bool CGLSoundPlay(int soundid,bool loop=false);
MDLLFUN bool CGLSoundPlay3D(int soundid,float x,float y,float z,bool loop=false);
MDLLFUN bool CGLSoundSetListener(float x=0,float y=0,float z=0
				,float velx=0,float vely=0,float velz=0
				,float nx=0,float ny=0,float nz=1.0);
MDLLFUN bool CGLSoundStop(int soundid);					// Stop playing the sound
MDLLFUN bool CGLSoundContinue(int soundid);				// Continue playing the sound
MDLLFUN bool CGLSoundSetVolume(int soundid,float vol);		// volume(0...1(100%) )
MDLLFUN bool CGLSoundSetPan(int soundid,float pan);			// (+1..0(center)...-1)


#endif // ComineGLSound

